# -*- coding: utf-8 -*-

from flask import Flask
from config import Config
from logging.config import dictConfig

# 项目配置
config = Config()

# 加载日志配置
dictConfig(config.LOGGING)

app = Flask(__name__)
# 加载配置
app.config.from_object(config)
